#include<stdio.h>
int main()
{
    const float PI = 3.14;
    //freopen("in.txt","r",stdin);
    float r,h;
    scanf("%f %f",&r,&h);
    printf("C1=%.2f\nSa=%.2f\nSb=%.2f\nVa=%.2f\nVb=%.2f",2*PI*r,PI*r*r,4*PI*r*r,4/3.0 * PI * r * r * r,PI*r*r*h);
}